package src.service;

import src.entity.Habit;

import java.util.Date;
import java.util.List;

public interface HabitService {
    Habit createHabit(String account, String name, String content, Date startDate);
    boolean checkIn(String account, String habitName);
    List<Habit> getHabitsByUser(String account);
    int getHabitContinuousDays(String account, String habitName);
}